package com.atwulidun.factory02.simplefactory.order;

public class PizzaStore {
    public static void main(String[] args) {
        // 订购pizza
        // 调用简单工厂对象的实例方法订购
//        OrderPizza orderPizza = new OrderPizza(new SimpleFactory());
        // 调用简单工厂类的静态方法订购
        OrderPizza1 orderPizza1 = new OrderPizza1();
    }
}
